<!-- apps/frontend/templates/layout.php -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>
      <?php if (!include_slot('title')): ?>
        Briefing Orders - the best orders
      <?php endif; ?>
    </title>
    <link rel="shortcut icon" href="/greatcontent.png" />
    
    <?php include_stylesheets() ?>
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
    
    <?php use_javascript('jquery-1.6.4.js') ?>
    <?php //use_javascript('jquery-1.3.2.min.js') ?>
    <?php use_javascript('jquery-ui-1.8.16.custom.min.js') ?>
    <?php //use_javascript('jquery-ui-1.7.1.custom.js') ?>
    <?php use_javascript('selectToUISlider.jQuery.js') ?>
    
    <?php use_javascript('jquery.watermark.js') ?>
    <?php //use_javascript('jQuery.watermark.min.js') ?>
    
    <?php //use_javascript('jQuery.autosave.js') ?>
    
    <?php use_javascript('extraFunctionality.js') ?>
    <?php include_javascripts() ?>
    
  </head>
  <body>
    <div id="container">
      <div id="header">
        <div class="content">
          <h1 id="h1Content"><a href="<?php echo url_for('@homepage') ?>">
            <img src="/images/logo.jpg" alt="Briefing Order Board" />
          </a></h1>
 
          <div id="sub_header">
            <div class="post">
              <h2>Ask for people</h2>
              <div>
                <a href="<?php echo url_for('@order_new') ?>">New order</a>
              </div>
            </div>
 
<!--            <div class="search">
              <h2>Ask for a job</h2>-->
<!--              <form action="" method="get">
                <input type="text" name="keywords"
                  id="search_keywords" />
                <input type="submit" value="search" />
                <div class="help">
                  Enter some keywords (ßßßßcitÜÜÜüöäy, country, position, ...)
                </div>
              </form>-->
<!--            </div>-->
          </div>
        </div>
      </div>
      
      <div id="content">
        <?php if ($sf_user->hasFlash('notice')): ?>
          <div class="flash_notice">
            <?php echo $sf_user->getFlash('notice') ?>
          </div>
        <?php endif; ?>
 
        <?php if ($sf_user->hasFlash('error')): ?>
          <div class="flash_error">
            <?php echo $sf_user->getFlash('error') ?>
          </div>
        <?php endif; ?>
 
        <div class="content">
          <?php echo $sf_content ?>
        </div>
      </div>
 
      <div id="footer">
        <div class="content">
          <span class="symfony">
            <img src="/greatcontent.png" />
            powered by <a href="http://www.symfony-project.org/">
            <img src="/images/symfony.gif" alt="symfony framework" />
            </a>
          </span>
          <ul>
            <li><a href="">About Briefing</a></li>
            <li class="feed"><a href="">Full feed</a></li>
            <li><a href="">Briefing API</a></li>
            <li class="last"><a href="">Affiliates?no...</a></li>
          </ul>
        </div>
      </div>
    </div>
  </body>
</html>

